package com.biovr.backend.service;

import com.biovr.backend.domain.Expirement;
import org.apache.catalina.servlet4preview.http.HttpServletRequest;
import org.springframework.stereotype.Service;

/**
 * Created by monodev on 2017/5/8.
 */

public interface ExpirementService {
    /**
     * 增加实验
     * @param request
     * @param expm
     * @return
     */
    Expirement addExpirement(HttpServletRequest request, Expirement expm);

    /**
     * 根据ID删除实验
     * @param id
     * @return
     */
   boolean deleteExpirement(String id) throws  Exception;

}
